//
//  JJPublicMacro.h
//  MyAnimations
//
//  Created by jxf on 15/12/23.
//  Copyright © 2015年 JJ.sevn. All rights reserved.
//

#ifndef JJPublicMacro_h
#define JJPublicMacro_h

// 只有OC文件需要导入时--__OBJC__

#ifdef __OBJC__


#define ScreenW [UIScreen mainScreen].bounds.size.width

#define ScreenH [UIScreen mainScreen].bounds.size.height

#define ScreenSize [UIScreen mainScreen].bounds.size

#define ScreenBounds [UIScreen mainScreen].bounds 

#define JJKeyWindow [UIApplication sharedApplication].keyWindow


#ifdef DEBUG

#define JJLOG(...) NSLog(__VA_ARGS__)

#else

#define JJLOG(...)

#endif

// 导入需要公用的头文件

#endif



#endif /* JJPublicMacro_h */
